package com.es.pojo;

import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * @ClassName CreateEntity
 * @author: maliang
 * @Description TODO
 * @date 2021/11/29 13:04
 * @Version 1.0版本
 */
@Data
public class EsEntity {

    private String index;

    private List<Property> field;

    private String entity;

    private List<String> entitys;

    private String id;

    @Data
    public static class Property {

        private String name;

        private String type;

    }

    private Map<String, String> criteria;

    private Integer from;

    private Integer size;

}
